package com.dhcc.mybatis.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dhcc.framework.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>描述：用户信息实体类</p>
 * <p>公司：东华医为科技有限公司</p>
 * <p>版权：dhcc-2019</p>
 * @author liuyg
 * @since 2019-12-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@JsonInclude(Include.NON_EMPTY)
@TableName("t_base_user")
public class User extends BaseEntity {

	private static final long serialVersionUID=1L;

    @TableId(value = "user_id", type = IdType.UUID)
    private String userId;

    @TableField("name")
    private String name;

    @TableField("gender")
    private Integer gender;

    @TableField("birthday")
    private Date birthday;

    @TableField("id_card")
    private String idCard;

    @TableField("mobile_num")
    private String mobileNum;

    @TableField("email")
    private String email;

    @TableField("province")
    private String province;

    /**
     * 使用状态
     */
    @TableField("use_status")
    private Integer useStatus;


}
